import 'lark_auth_platform_interface.dart';

const List<String> defaultScopeList = [];

class LarkAuth {
  Future<String?> startSSOVerify({
    required String appId,
    bool? challengeMode = false,
    String? server = 'Feishu',
    String? language = 'zh',
    String? deviceId,
    List<String>? scopeList = defaultScopeList,
  }) {
    return LarkAuthPlatform.instance.startSSOVerify(
      appId: appId,
      challengeMode: challengeMode,
      server: server,
      language: language,
      deviceId: deviceId,
      scopeList: scopeList,
    );
  }
}
